/*
package com.honglu.backend.dubbo.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.dubbo.config.annotation.Service;
import com.honglu.backend.dubbo.BlacklistDubboService;
import com.honglu.backend.dubbo.response.DubboBaseResponse;
import com.honglu.backend.entity.BuBlacklist;
import com.honglu.backend.service.BlacklistService;


@Service(version = "1.0.0")
public class BlacklistDubboServiceImpl implements BlacklistDubboService {
	
	@Autowired
	private BlacklistService blacklistService;

	@Override
	public DubboBaseResponse queryBlackInfo(BuBlacklist buBlacklist) {
		DubboBaseResponse response = new DubboBaseResponse();
		List<BuBlacklist> list = blacklistService.buBlacklistCount(buBlacklist);
		if(list.size() != 0){
			response.setErrorMsg("该用户存在黑名单中");
			response.setErrorCode("1"); 
		}else{
			response.setErrorMsg("该用户不存在黑名单中");
			response.setErrorCode("0"); 
		}
		return response;  
	}
	 
}
*/
